package com.hsurosy.domain.award.model.aggregate;

import com.hsurosy.domain.award.model.entity.TaskEntity;
import com.hsurosy.domain.award.model.entity.UserAwardRecordEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author Hsu琛君珩
 * @Date 2024-11-14 11:10
 * @Description 用户中奖记录聚合对象【聚合代表一个事务操作】
 * @Version: v1.0.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserAwardRecordAggregate {

    /** 用户中奖记录实体对象 */
    private UserAwardRecordEntity userAwardRecordEntity;
    /** 任务实体对象 */
    private TaskEntity taskEntity;

}
